package com.example.user.service;

import com.example.model.check_in.PasswordDo;
import com.example.user.domain.LoginUser;
import org.springframework.security.core.AuthenticationException;

public interface UserAuthService {

    String login(String username, String password) throws AuthenticationException;

    Boolean hasPerm(String permission, LoginUser loginUser);

    String getLoginUsername(LoginUser loginUser);

}
